package org.sfnelson.sk.client.rpc;

import java.util.Date;
import java.util.List;

import org.sfnelson.sk.client.data.Loot;
import org.sfnelson.sk.client.data.User;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface EventServiceAsync {
	public void listen(Date last, AsyncCallback<List<Event>> callback);
	public void created(Date last, String name, AsyncCallback<List<Event>> callback);
	public void joined(Date last, User user, AsyncCallback<List<Event>> callback);
	public void left(Date last, User user, AsyncCallback<List<Event>> callback);
	public void receivedLoot(Date last, User user, Loot loot, String reason, AsyncCallback<List<Event>> callback);
}
